package com.three.vip.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.UserAddress;
import com.three.core.vo.R;
import com.three.vip.vo.UserAddressFormVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author ：JinShiYan
 * @date ：Created in 2025/3/12 18:20
 * @description：
 * @modified By：
 * @version:
 */
public interface UserAddressMapper extends BaseMapper<UserAddress> {
    IPage<UserAddress> selectByCondition(@Param("page") Page<UserAddress> page, @Param("addressName") String addressName);

    Integer updateAddress(UserAddressFormVo userAddressFormVo);

    int deleteByMyId(Integer addressId);
}
